package homework;

public class Test {
    public static void main(String[] args) {
        Student zs = new Student("zhangsan",25,"LF","jsd2303","001");
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.study();
        System.out.println();

        Teacher ls = new Teacher("lisi",24,"JMS",6000.0);
        ls.eat();
        ls.sleep();
        ls.sayHi();
        ls.teach();
        System.out.println();

        Doctor ww = new Doctor("wangwu",26,"SD","主治医师");
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.cut();
        System.out.println();
    }
}
